#!/bin/bash

if [ -n "$1" ]; then
  data_date=$1
else
  data_date=`date -d "-1 days" +%F`
fi

